import request from '@/util/request.js'
/**
 * @description 小区下拉
 * @param data
 * @returns {*}
 */
export function getHouseListApi(data) {
	return request({
		url: '/houseList',
		method: 'GET',
		data
	})
}
/**
 * @description 楼、单元、户树状
 * @param data
 * @returns {*}
 */
export function getHouseTreeApi(data) {
	return request({
		url: '/houseTree',
		method: 'GET',
		data
	})
}
/**
 * @description 房屋认证提交
 * @param data
 * @returns {*}
 */
export function saveHouse(data) {
	return request({
		url: '/saveHouse',
		method: 'post',
		data
	})
}